class AddRootCategoriesProperties < ActiveRecord::Migration
  def self.up
			add_column  :root_categories, :name, :string
			add_column  :root_categories, :internal_name, :string
			add_column  :root_categories, :icon, :string
			add_column  :root_categories, :wiki_page, :string
			add_column  :root_categories, :description, :text
			add_column  :root_categories, :priority, :integer
  end

  def self.down
			remove_column  :root_categories, :name
			remove_column  :root_categories, :internal_name
			remove_column  :root_categories, :icon
			remove_column  :root_categories, :wiki_page
			remove_column  :root_categories, :description
			remove_column  :root_categories, :priority
  end
end
